package com.haiyan.demo12_this内存原理;

public class Test {
    public static void main(String[] args) {
        Student stu1=new Student();
        stu1.setName("张三");
        stu1.setAge(18);
        System.out.println(stu1.getName()+","+stu1.getAge());

        Student stu2=new Student();
        stu2.setName("李四");
        stu2.setAge(19);
        System.out.println(stu2.getName()+","+stu2.getAge());
        stu1.method02();
    }
}
